<?php
/**
 * 独立页面模板
 * 比如登录，退出等等页面
 */

use backend\assets\AppAsset;
use yii\helpers\Html;
use yii\bootstrap\BootstrapAsset;

AppAsset::register($this);
BootstrapAsset::register($this);
$this->beginPage();

?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?= Html::csrfMetaTags() ?>
    <title><?= Html::encode($this->title) ?> - <?= Yii::$app->params['app_title']?></title>
    <?php $this->head() ?>
    <?php if (isset($this->blocks['headCss'])): ?>
        <?= $this->blocks['headCss'] ?>
    <?php endif; ?>
    <?php if (isset($this->blocks['headJs'])): ?>
        <?= $this->blocks['headJs'] ?>
    <?php endif; ?>
    <!--[if lt IE 9]>
    <script src="/assets/js/html5shiv.js"></script>
    <script src="/assets/js/respond.min.js"></script>
    <![endif]-->
</head>
<body>
<div id="jNotify"></div>
<?php $this->beginBody(); ?>

<div id="wrapper">

    <div id="page-wrapper">

        <div class="container-fluid">
            <div class="row">
                <div class="col-lg-12">
                    <?=$content?>
                </div>
            </div>
        </div>

    </div>

</div>
<?php $this->endBody(); ?>

<?php if (isset($this->blocks['footJs'])): ?>
    <?= $this->blocks['footJs'] ?>
<?php else: ?>
<?php endif; ?>

</body>

</html>
<?php $this->endPage(); ?>
